package com.xlhj.dynamic.common;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author: caijliu
 * @description: SexEnum
 * @data: 06/08/2021 9:45
 */
@Getter
public enum SexEnum {

    MALE(1, "男性"),
    FEMALE(2, "女性"),
    UNKNOWN(3, "未知");

    @EnumValue
    private final int code;
    private final String descp;

    SexEnum(int code, String descp) {
        this.code = code;
        this.descp = descp;
    }
}
